﻿using System.Collections.Generic;

public class Entity
{
    public string Type { get; set; }
    public string Name { get; set; }
    public string Description { get; set; }

    public override string ToString()
    {
        return $"{Name} ({Type})";
    }
}

public class Relationship
{
    public string From { get; set; }
    public string To { get; set; }
    public string RelationshipType { get; set; }
    public Dictionary<string, object> Attributes { get; set; }

    public override string ToString()
    {
        return $"{From} - {RelationshipType} - {To}";
    }
}

public class Event
{
    public string Type { get; set; }
    public string Name { get; set; }
    public List<string> Participants { get; set; }
    public string Location { get; set; }
    public string Description { get; set; }

    public override string ToString()
    {
        return $"{Name} ({Type})";
    }
}